package com.cdxy.model.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: tangy
 * @Date: 2020/4/13 14:23
 */
@Data
@ApiModel
public class OrderDetailResp implements Serializable {

    private static final long serialVersionUID = -1393441012233224517L;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "订单编号")
    private String bizNo;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "类型名")
    private String typeName;

    @ApiModelProperty(value = "数量")
    private Integer totalNum;

    @ApiModelProperty(value = "总金额")
    private Integer totalAmount;

    @ApiModelProperty(value = "预定时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate bookTime;

    @ApiModelProperty(value = "预定人")
    private String realName;

    @ApiModelProperty(value = "状态code")
    private String status;

    @ApiModelProperty(value = "状态名")
    private String statusName;

    @ApiModelProperty(value = "预定手机号")
    private String realPhone;

    @ApiModelProperty(value = "预定身份证")
    private String realIdCard;

    @ApiModelProperty(value = "过期时间")
    private Long validTime;
}
